<!--<?php

print <<<EOT
-->
 <div class="main_R">   
        
          
   <div class="tb-top-logo">
    <img src="css/images/about_jansen_furniture.jpg" alt="" />
       </div>
              <div class="right-pad">
			    		<table width="745" border="0" cellspacing="0" cellpadding="0" align="center">			    		
			    		<tr><td colspan=9 align="left" class="titles">多谢你的订单。</td></tr>
			    		<tr><td colspan=9 height=5></td></tr>
			    		<tr><td colspan=9 height=5></td></tr>
			    		
			    		<tr><td colspan=9>我们将尽快电邮一份正式的订货单给您。</td></tr>
			    		<tr><td colspan=9 height=5></td></tr>
			    		
			    		<tr><td colspan=9>请<a href="javascript:;" onClick="MM_openBrWindow('printer.php?page=cart_submit&orderid=$orderid','printfriendly','scrollbars=yes,width=750,height=500')"><strong>列印</strong></a>你的订单资料。</td></tr>
			    		<tr><td colspan=9 height=5></td></tr>
			    		<tr><td colspan=9 height=5></td></tr>
			    		
			    		<tr><td colspan=14>
                			      <table  border="0" cellspacing="0" cellpadding="0">        			    	
                			        <tr>
									  <td align="right" ><strong>订单追踪编号</strong>&nbsp;</td>
									  <td width="10" align="center">:</td>
									  <td align="left" >&nbsp;{$orderid}</td>
									</tr>
                			        <tr>
									<td align="right" ><strong>顾客</strong>&nbsp;</td>
									 <td align="center">:</td>
									<td align="left" >&nbsp;{$user_info_ary['firstname']} {$user_info_ary['lastname']}</td>
									</tr>
        			    		    <tr>
									 <td align="right" ><strong>城市</strong>&nbsp;</td>
									 <td align="center">:</td>
									 <td align="left" >&nbsp;{$user_info_ary['city']}</td>
									</tr>
        			    		    <tr>
									 <td align="right" ><strong>国家</strong>&nbsp;</td>
									  <td align="center">:</td>
									 <td align="left" >&nbsp;{$COUNTRY_ARY[$user_info_ary['countryid']]}</td>
									</tr>
        			    		  </table>
        			    		</td>
								</tr>
        			    		
			    		
			    		<tr><td colspan=9 height=5></td></tr>
			    		<tr><td colspan=9 height=5></td></tr>	
			    		<tr><td colspan=9 bgcolor="#000000" height=1></td></tr>															
						<tr class="cartAlternatingRowB"  height="30">
						    <td align="center" valign="middle" class="cartHeading" width="40"></td>
			    			<td align="center" valign="middle" class="cartHeading" width="15"></td>
			    			<td align="left" valign="middle" class="cartHeading" width="70">产品型号.</td>
			    			<td align="left" valign="middle" class="cartHeading" colspan="2" width="163">明细</td>
			    			<td align="left" valign="middle" class="cartHeading"  width="63">漆色</td>
			    			<td align="right" valign="middle" class="cartHeading" width="60">价格<br>{$money_type}</td>
			    			<td align="right" valign="middle" class="cartHeading" width="50">数量</td>
			    			<td align="right" valign="middle" class="cartHeading" width="70">总计<br>{$money_type}</td>
						</tr>
						<tr><td colspan=9 bgcolor="#A5AAB0" height=1></td></tr>
						<tr><td colspan=9 bgcolor="#FFFFFF" height=4></td></tr>
			
<!--
EOT;
foreach ($info_ary as $k=>$v) {
    @list($type, $k,$fitemid) = explode("_", $k); 
    $location = $v['intype'] == 0 ? 'Products' : $location_info_ary[$v['intype']];

    if (trim($all_product_info_ary[$k]['small_pic']) == "" || !file_exists("attachments/" . $all_product_info_ary[$k]['small_pic'])) {
        $all_product_info_ary[$k]['small_pic'] = 'no_40.gif';
    }
    
    $v['price']  = number_format($v['price'], 2, '.', ',');
	$v['cost']   = number_format($v['cost'], 2, '.', ',');
	
	if(trim($all_product_info_ary[$k]['namezh'])!="")
	  $vname=$all_product_info_ary[$k]['namezh'];
	else
	 $vname=$v['name'];

print <<<EOT
-->
			            <tr class="cartAlternatingRowB1" height=45>		
			                <td align="left" valign="middle"><a href="product_details.php?pid=$k#atpic"><img src="attachments/{$all_product_info_ary[$k]['small_pic']}" border="0" class="picture" width="40" height="40"></a></td>
			    			<td align="center" valign="middle">&nbsp;</td>	    			
			    			<td align="left" valign="middle">{$all_product_info_ary[$k]['code']}</td>
							<td align="left" valign="top" colspan=2 class="cartmiddle">{$vname}&nbsp;</td>
			    			<!--<td align="left" valign="top" colspan=2 class="cartmiddle">{$v['name']}&nbsp;</td>-->
			    			<td align="left" valign="middle">{$_finish_item[$fitemid]}</td>
			    			<td align="right" valign="middle">{$v['price']}</td>
			    			<td align="right" valign="middle">{$v['count']}</td>
			    			<td align="right" valign="middle">{$v['cost']}</td>
						</tr>

<!--
EOT;
} 
print <<<EOT
--> 
						<tr><td colspan=9 bgcolor="#A5AAB0" height=1></td></tr>
						<tr>
						  <td colspan=7 height=25 align="right"><strong>总计</strong> :</td>
						  <td align="right">$total_qty2</td>
						  <td align="right">$total_cost1</td>
						</tr>
						
						
						<tr>
						  <td colspan=7 height=25></td>
						  <td colspan=2 align="right"><div align="right"><a href="javascript:;" onClick="MM_openBrWindow('printer.php?page=cart_submit&orderid=$orderid','printfriendly','scrollbars=yes,width=650,height=500')" onMouseOver="MM_swapImage('jf_button_printer_friendly2','','./images/button/jf_button_print-over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="./images/button/jf_button_print.gif" alt="Printer Friendly" name="jf_button_printer_friendly2" width="90" height="20" border="0" id="jf_button_printer_friendly2"></a></div></td>
						</tr>
						
						</table>
						
                      </div>
                     
                   
                  
                
             
       </div>              
   	</div>

<!--
EOT;
?>-->